package com.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

/**
 * @TableName t_zczj
 */
@TableName(value = "t_zczj")
@Data
public class AssetDepreciation implements Serializable {
    /**
     * #
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 折旧时间
     */
    @TableField(value = "zjsj")
    private Date zjsj;

    /**
     * 资产编号
     */
    @TableField(value = "zcbh")
    private String zcbh;

    /**
     * 资产名称
     */
    @TableField(value = "zcmc")
    private String zcmc;

    /**
     * 资产名称
     */
    @TableField(value = "assetId")
    private Integer assetid;

    /**
     * 资产类别
     */
    @TableField(exist = false)
    private AssetType assetType;

    /**
     * 资产类别id
     */
    @TableField(value = "typeId")
    private Integer typeid;

    /**
     * 折旧方法
     */
    @TableField(value = "zjff")
    private String zjff;

    /**
     * 折旧年限
     */
    @TableField(value = "zjnx")
    private Integer zjnx;

    /**
     * 原值
     */
    @TableField(value = "yuanzhi")
    private BigDecimal yuanzhi;

    /**
     * 净值
     */
    @TableField(value = "jingzhi")
    private BigDecimal jingzhi;

    /**
     * 残值
     */
    @TableField(value = "canzhi")
    private BigDecimal canzhi;

    /**
     * 残值率
     */
    @TableField(value = "canzhilv")
    private BigDecimal canzhilv;

    /**
     * 入库时间
     */
    @TableField(value = "rksj")
    private Date rksj;

    /**
     * 是否损坏
     */
    @TableField(value = "shsj")
    private Date shsj;

    /**
     * 单月折旧
     */
    @TableField(value = "dyzj")
    private BigDecimal dyzj;

    /**
     * 折旧金额
     */
    @TableField(value = "zjje")
    private BigDecimal zjje;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}